.mine-view {
  padding: 20px;
  margin-top: 56px; /* 避免被导航栏遮挡 */
  background-color: #f0f2f5; /* 浅背景色 */
  min-height: calc(100vh - 56px); /* 确保页面至少占满视口高度 */
  color: #333; /* 默认文字颜色 */
  font-family: 'Arial', sans-serif; /* 更改字体 */
}

.user-profile-card {
  display: flex;
  align-items: center;
  padding: 30px; /* 增加内边距 */
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
}

.avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 20px;
  flex-shrink: 0;
  border: 3px solid #007bff; /* 添加边框 */
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.user-info {
  flex-grow: 1;
  text-align: left;
}

.user-info h2 {
  margin: 0 0 8px 0;
  font-size: 22px;
  color: #333;
}

.user-info p {
  margin: 0 0 12px 0;
  font-size: 14px;
  color: #666;
}

.user-stats {
  display: flex;
  gap: 20px;
  font-size: 14px;
  color: #555;
}

.user-stats b {
  color: #007bff;
  font-weight: bold;
}

.edit-profile-btn {
  padding: 8px 16px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.3s ease;
}

.edit-profile-btn:hover {
  background-color: #0056b3;
}

.feature-section {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  margin-bottom: 20px;
  padding: 20px;
}

.feature-section h3 {
  margin-top: 0;
  margin-bottom: 15px;
  font-size: 18px;
  color: #333;
  border-bottom: 1px solid #eee;
  padding-bottom: 10px;
}

.feature-list {
  display: flex;
  flex-direction: column;
}

.feature-item {
  display: flex;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #f8f9fa;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.feature-item:last-child {
  border-bottom: none;
}

.feature-item:hover {
  background-color: #f8f9fa;
}

.feature-item i {
  margin-right: 15px;
  color: #007bff;
  font-size: 18px;
}

.feature-item span {
  flex-grow: 1;
  font-size: 16px;
  color: #555;
}

.feature-item .arrow {
  color: #adb5bd;
  font-size: 16px;
}

/* 移动端适配 */
@media screen and (max-width: 768px) {
  .mine-view {
    padding: 15px;
  }

  .user-profile-card {
    flex-direction: column;
    align-items: center;
    padding: 20px;
    text-align: center;
  }

  .avatar {
    margin-right: 0;
    margin-bottom: 15px;
  }

  .user-info {
    text-align: center;
    margin-bottom: 15px;
  }

  .user-stats {
    justify-content: center;
  }

  .edit-profile-btn {
    width: 100%;
    max-width: 200px;
  }

  .feature-section {
    padding: 15px;
  }

  .feature-section h3 {
    font-size: 16px;
    margin-bottom: 10px;
    padding-bottom: 8px;
  }

  .feature-item {
    padding: 10px 0;
    font-size: 14px;
  }

  .feature-item i {
    font-size: 16px;
    margin-right: 10px;
  }
}